/*!  \file  Counter.h
 *	  \brief  
 * 
 *   \details   details
 *   \author    Yordan Madzhunkov German Research School for Simulation Sciences GmbH
 *   \version   1.0
 *   \date      07/09/2013 10:10:46 AM
 *   \copyright GNU Public License.
 */
#pragma once
#include "Lock.h"
class Counter : public Lock {
public:
	Counter(const int initValue = 0); 
	virtual ~Counter();
	void setValue(const int val);
	int getValue() ;
	Counter & operator += (const int v);
private:
	int 		value;
};
